//里程碑列表查询
export function getTableList(params) {
    return axios({
        method: 'get',
        url: '/milestone/list',
        params: params,
        headers: {
            'Cache-Control': 'no-cache'
        }
    });
}

//里程碑保存
export function saveTable(params) {
    return axios({
        method: 'post',
        url: '/milestone/save',
        data: params,
        headers: {
            'Cache-Control': 'no-cache'
        }
    });
}

//里程碑删除
export function deleteItem(params) {
    return axios({
        method: 'get',
        url: '/milestone/delete',
        params,
        headers: {
            'Cache-Control': 'no-cache'
        }
    });
}

//里程碑启用
export function enableItem(params) {
    return axios({
        method: 'post',
        url: '/milestone/enable',
        data: params,
        headers: {
            'Cache-Control': 'no-cache'
        }
    });
}

//里程碑停用
export function disableItem(params) {
    return axios({
        method: 'post',
        url: '/milestone/disable',
        data: params,
        headers: {
            'Cache-Control': 'no-cache'
        }
    });
}


//是否引用校验
export function isLink(params) {
    return axios({
        method: 'get',
        url: '/milestone/referenceCheck',
        params,
        headers: {
            'Cache-Control': 'no-cache'
        }
    });
}